export const pageProps = {
  background: {
    type: Boolean,
    default: true
  },
  pageConfig: {
    type: Object,
    default: () => ({
      pageSize: 100,
      pageSizes: [100, 200, 300, 400]
    })
  },
  total: {
    type: Number,
    default: 800
  }
}

export const mitter = {
  'size-change': (sizes: number) => !!sizes,
  'current-change': (current: number) => !!current
}
